package com.jjkj.environmental.environmental.di

import com.jjkj.environmental.environmental.presenter.CheckPresenter
import com.jjkj.environmental.environmental.presenter.LoginPresenter
import com.jjkj.environmental.environmental.presenter.MainPresenter
import dagger.Component
import javax.inject.Singleton

@Singleton
@Component(modules = [PresenterModule::class])
interface PresenterComponent {
    /**
     * 注入LoginPresenter的依赖
     */
    fun inject(presenter: LoginPresenter)

    /**
     * 注入MainPresenter的依赖
     */
    fun inject(presenter: MainPresenter)

    /**
     * 注入CheckPresenter的依赖
     */
    fun inject(presenter: CheckPresenter)
}

